package com.ruoyi.app.mapper;

import java.util.List;
import com.ruoyi.app.domain.AppMediumUsersOrganization;

/**
 * 组织和用户关联Mapper接口
 * 
 * @author ruoyi
 * @date 2025-11-04
 */
public interface AppMediumUsersOrganizationMapper 
{
    /**
     * 查询组织和用户关联
     * 
     * @param id 组织和用户关联主键
     * @return 组织和用户关联
     */
    public AppMediumUsersOrganization selectAppMediumUsersOrganizationById(Long id);

    /**
     * 查询组织和用户关联列表
     * 
     * @param appMediumUsersOrganization 组织和用户关联
     * @return 组织和用户关联集合
     */
    public List<AppMediumUsersOrganization> selectAppMediumUsersOrganizationList(AppMediumUsersOrganization appMediumUsersOrganization);

    /**
     * 新增组织和用户关联
     * 
     * @param appMediumUsersOrganization 组织和用户关联
     * @return 结果
     */
    public int insertAppMediumUsersOrganization(AppMediumUsersOrganization appMediumUsersOrganization);

    /**
     * 修改组织和用户关联
     * 
     * @param appMediumUsersOrganization 组织和用户关联
     * @return 结果
     */
    public int updateAppMediumUsersOrganization(AppMediumUsersOrganization appMediumUsersOrganization);

    /**
     * 删除组织和用户关联
     * 
     * @param id 组织和用户关联主键
     * @return 结果
     */
    public int deleteAppMediumUsersOrganizationById(Long id);

    /**
     * 批量删除组织和用户关联
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteAppMediumUsersOrganizationByIds(Long[] ids);
}
